<%@page contentType="text/html;charset=UTF-8"%>
<%@page pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="tiles" uri="http://tiles.apache.org/tags-tiles"%>
<%@ taglib prefix="my" tagdir="/WEB-INF/tags"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="<c:url value="/resources/images/favicon.png" />"
	rel="SHORTCUT ICON" type="image/png">
<title><tiles:insertAttribute name="title" />
</title>
<link rel="stylesheet"
	href="<c:url value="/resources/css/navigation-horizontal.css" />"
	type="text/css" />
<link rel="stylesheet"
	href="<c:url value="/resources/css/general.css" />" type="text/css" />
<tiles:useAttribute id="styles" name="styles" classname="java.util.List"
	ignore="true" />
<c:forEach var="style" items="${styles}">
	<link rel="stylesheet" href="<c:url value="/resources/${style}" />"
		type="text/css" media="all" />
</c:forEach>

<script type="text/javascript"
	src="<c:url value="/resources/js/jquery/jquery-1.4.3.js" />"></script>
<script type="text/javascript"
	src="<c:url value="/resources/js/jquery/jquery.cookie.js" />"></script>
<tiles:useAttribute id="scripts" name="scripts"
	classname="java.util.List" ignore="true" />
<c:forEach var="script" items="${scripts}">
	<script type="text/javascript"
		src="<c:url value="/resources/${script}" />"></script>
</c:forEach>

</head>
<body>
	<div id="mainContent">
		<tiles:insertAttribute name="topStaticMenu" />
		<div class="navigationContainer">
			<div class="centralContainer">
				<tiles:insertAttribute name="navigationMenu" />
			</div>
		</div>
		<div class="subnavigationContainer">
			<div class="centralContainer">
				<tiles:insertAttribute name="subnavigationMenu" />
			</div>
		</div>
		<div class="centralContainer">
			<!-- start body -->
			<div class="gridMain">
				<tiles:insertAttribute name="content" />
				<tiles:insertAttribute name="pageList" />
				<my:pagination pagination="${paginationObj}" />
			</div>
			<div class="gridRightSidebar">
				<tiles:insertAttribute name="banners" />
			</div>

			<!-- end body -->
		</div>

	</div>
</body>
</html>